package com.central.kerberosManage.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.central.db.mapper.SuperMapper;
import com.central.kerberosManage.model.HadoopClusterHost;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @author Tindy
 * @date 2021/7/5
 * @describe
 */
@Mapper
public interface HadoopClusterHostMapper extends SuperMapper<HadoopClusterHost> {

    List<HadoopClusterHost> findList(Page<HadoopClusterHost> page, @Param("u") Map<String, Object> params);

    @Select("select * from hadoop_cluster_host")
    List<HadoopClusterHost> selectAll();
}
